home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 5 / Amiga Plus Sonderheft 1996 #5.iso / sonstiges / superviewel / install_superview < prev    next >
Text File  |  1986-04-04  |  4KB  |  109 lines

  1. ; $VER: Install_SuperView.script V5.00 (8.10.95)
  2. ; © 1993-95 by Andreas R. Kleinert.
  3. ; Italian texts by Alessandro Basso (cralex@amiga.dei.unipd.it)
  4.  
  5. (set selectlang (askchoice
  6.                    (prompt "")
  7.                    (help @askchoice-help)
  8.                    (choices "Deutsche Installation" "English Installation" "Italian Installation")
  9.                    (default 1)
  10.                  )
  11. )
  12.  
  13. (if (= selectlang 0) (set @language "deutsch")  )
  14. (if (= selectlang 1) (set @language "english")  )
  15. (if (= selectlang 2) (set @language "italiano") )
  16.  
  17. (if (= @language "deutsch")
  18.   (
  19.     (set MSG_wrong_OS       (cat "Sie benötigen mindestens OS V2.04 für SuperView !\n\n"
  20.                                  "SuperView wird auf Ihrem System nicht laufen !"))
  21.     (set MSG_InstallingSuperView "Installiere jetzt SuperView. Die Libraries müssen separat installiert werden !")
  22.     (set MSG_SelectPath          "Wählen Sie das Zielverzeichnis für SuperView")
  23.     (set MSG_InstallingCatalogs  "Installiere jetzt die Katalog-Dateien für die\nOS V2.1+ Sprach-Unterstützung.")
  24.     (set MSG_SelectCatalogPath   "Wählen Sie den Pfad für die Katalog-Dateien")
  25.     (set MSG_DoInstallSuperView  "SuperView wurde installiert.\nSie sollten nun SuperView-Library installieren,\nfalls nicht bereits geschehen.")
  26.     (set MSG_SuperViewPath       "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
  27.   )
  28. )
  29.  
  30. (if (= @language "english")
  31.   (
  32.     (set MSG_wrong_OS       (cat "You need at least OS V2.04 to run SuperView !\n\n"
  33.                                  "SuperView will not run with your system configuration !"))
  34.     (set MSG_InstallingSuperView "Installing SuperView now. Libraries have to be installed separately !")
  35.     (set MSG_SelectPath          "Select path to install SuperView to")
  36.     (set MSG_InstallingCatalogs  "Installing Catalog-Files for OS V2.1+\nCode localization.")
  37.     (set MSG_SelectCatalogPath   "Select path to install Catalogs to")
  38.     (set MSG_DoInstallSuperView  "SuperView has been installed.\nYou should install SuperView-Library\nnow if not already done.")
  39.     (set MSG_SuperViewPath       "Now modifying your S:User-Startup for a search path...")
  40.   )
  41. )
  42.  
  43. (if (= @language "italiano")
  44.   (
  45.     (set MSG_wrong_OS       (cat "Serve almeno l' OS V2.04 per usare SuperView !\n\n"
  46.                                  "SuperView non funzionerà con la tua configurazione di sistema !"))
  47.     (set MSG_InstallingSuperView "Ora installo SuperView.Le Librerie dovranno essere installate separatamente !")
  48.     (set MSG_SelectPath          "Seleziona il percorso in cui installare SuperView")
  49.     (set MSG_InstallingCatalogs  "Installo File-Catalogo per OS V2.1+\nLocalizzazione Codice.")
  50.     (set MSG_SelectCatalogPath   "Seleziona percorso in cui installare i Cataloghi")
  51.     (set MSG_DoInstallSuperView  "SuperView has been installed.\nYou should install SuperView-Library\nnow if not already done.")
  52.     (set MSG_SuperViewPath       "Now modifying your S:User-Startup for a search path...")
  53.   )
  54. )
  55.  
  56. (set OS_VER (/ (getversion) 65536) )
  57.  
  58. (if(< OS_VER 37)
  59.   (abort MSG_wrong_OS)
  60. )
  61.  
  62. (complete 0)
  63.  
  64. (copyfiles
  65.   (prompt MSG_Installing)
  66.   (help @copyfiles-help)
  67.   (source "")
  68.   (set svcomdir
  69.               (askdir
  70.                      (prompt MSG_SelectPath)
  71.                      (help @askdir-help)
  72.                      (newpath)
  73.                      (default "SYS:SuperView")
  74.               )
  75.   )
  76.   (dest svcomdir)
  77.   (all)
  78.   (confirm)
  79. )
  80.  
  81. (complete 70)
  82.  
  83. (copyfiles
  84.   (prompt MSG_InstallingCatalogs)
  85.   (help @copyfiles-help)
  86.   (source "locale/catalogs")
  87.   (set svcomdir
  88.               (askdir
  89.                      (prompt MSG_SelectCatalogPath)
  90.                      (help @askdir-help)
  91.                      (newpath)
  92.                      (default "SYS:locale/Catalogs")
  93.               )
  94.   )
  95.   (dest svcomdir)
  96.   (all)
  97.   (confirm)
  98. )
  99.  
  100. (startup "SuperView"
  101.   (prompt MSG_SuperViewPath)
  102.   (help @startup-help)
  103.   (command "Path "svcomdir" ADD\n")
  104. )
  105.  
  106. (complete 99)
  107.  
  108. (exit MSG_DoInstallSuperView)
  109.